package com.optitronics.service;

import com.optitronics.ui.ChangePasswordForm;

public interface UserService {

	/**
	 * Changing password for logged user
	 * 
	 * @param formObj
	 */
	public void changePassword(ChangePasswordForm formObj);

	/**
	 * Checking if reseller is trying to see his order
	 * 
	 * @param orderId
	 */
	public void checkUserResellerOrder(Integer orderId);

	/**
	 * Checking if reseller is trying to see someone others orders
	 * 
	 * @param ownerId
	 */
	public void checkUserResellerOrders(Integer ownerId);

	/**
	 * Checks if product is active
	 * 
	 * @param productId
	 */
	public void checkProductActive(Integer productId);

}
